package com.iot.ic.dao;

import org.apache.ibatis.annotations.Mapper;

import com.iot.ic.model.Log;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LogMapper {
    int deleteByPrimaryKey(Integer logId);

    int insert(Log record);

    int insertSelective(Log record);

    Log selectByPrimaryKey(Integer logId);

    List<Log> selectAll(@Param("start") int start, @Param("itemsPerPage") int size);

    int updateByPrimaryKeySelective(Log record);

    int updateByPrimaryKeyWithBLOBs(Log record);

    int updateByPrimaryKey(Log record);

    int selectAllNumber();
}